import requests from "@/utils/request/index";

export function getUserList(params: Api.GetSystemUserListParams, extra?: Requests.ExtraConfig) {
  return requests<Api.GetSystemUserListRes>({
    url: "blade-user/list",
    method: "get",
    extra,
    params,
  });
}

export function getUserDetail(params: Api.GetUserDetailParams, extra?: Requests.ExtraConfig) {
  return requests<Api.GetUserDetailRes>({
    url: "blade-user/detail",
    extra,
    params,
  });
}
